fail2wp\Fail2WP D

Total Complexity 801
Dependencies 9
Dependents 2
Total lines 3,544
Lines of code 2,679
Logical lines of code 1,629
Comment lines 742
Methods 108
Properties 53

Methods 108

Method Rating Maintainability Complexity Lines of code
__construct()
D
7
101 329
fail2wp_login_ip_check()
D
18
72 215
fail2wp_admin_page()
D
14
60 287
fail2wp_rest_pre_dispatch()
D
29
43 115
fail2wp_hostname_lookup()
C
38 31 59
fail2wp_make_alert_message()
C
32 28 99
fail2wp_precond_access_list()
B
38 24 59
fail2wp_admin_check_new_user()
B
39 22 64
fail2wp_wp_loaded()
B
41 22 48
fail2wp_reverse_hostname_lookup()
B
43 22 44
fail2wp_login_errors()
B
40 21 55
fail2wp_setting_sanitize_textarea_setting()
A
45 16 38
fail2wp_do_cloudflare_lookup()
A
52 15 25
fail2wp_alert_send()
A
45 12 43
__destruct()
A
52 13 23
fail2wp_settings()
A
29 4 150
fail2wp_alert_failed_login()
A
49 11 27
fail2wp_setting_sanitize_dnscache()
A
54 10 19
fail2wp_roles_merge()
A
54 8 19
fail2wp_get_wp_roles()
A
48 7 33
fail2wp_auth_check()
A
57 8 16
fail2wp_settings_loginip_callback()
S
50 7 29
fail2wp_parse_request()
S
57 7 16
fail2wp_setting_sanitize_roles()
S
57 7 16
fail2wp_setting_sanitize_block_ns()
S
58 7 15
fail2wp_setting_sanitize_block_routes()
S
59 7 14
fail2wp_admin_alert_new_users_admin()
S
53 6 21
fail2wp_admin_alert_new_users_null()
S
53 6 21
fail2wp_admin_alert_new_users_mismatch()
S
53 6 21
fail2wp_rest_init()
S
55 6 19
fail2wp_rest_filter_authenticate()
S
56 6 18
fail2wp_get_site_label()
S
57 6 17
run()
S
56 6 16
setup_locale()
S
61 6 12
fail2wp_setting_sanitize_username_length()
S
61 6 12
fail2wp_alert_login()
S
56 5 18
fail2wp_settings_restapi_callback()
S
56 5 18
fail2wp_setting_rest_filter_block_ns()
S
57 5 16
fail2wp_get_message_user_display()
S
59 5 14
fail2wp_xmlrpc_disable_pingback()
S
60 5 13
fail2wp_get_rest_ns()
S
61 5 12
fail2wp_admin_alert_new_user_role_forced_email()
S
51 4 27
fail2wp_setting_reguser_warn_role()
S
54 4 22
fail2wp_setting_reguser_force_role()
S
54 4 22
fail2wp_settings_xmlrpc_callback()
S
55 4 19
fail2wp_settings_cloudflare_callback()
S
58 4 16
fail2wp_xmlrpc_disabled()
S
64 5 9
fail2wp_login_text()
S
63 5 9
fail2wp_setup_css()
S
63 5 9
getInstance()
S
62 5 10
fail2wp_setting_sanitize_site_label()
S
64 5 9
fail2wp_setting_sanitize_advanced()
S
64 5 9
fail2wp_menu()
S
63 4 11
fail2wp_gettext()
S
59 3 15
fail2wp_role_is_active()
S
66 4 8
fail2wp_settings_advanced_callback()
S
66 4 8
fail2wp_rest_index()
S
64 4 9
fail2wp_about_page()
S
47 1 39
fail2wp_setting_rest_filter_block_routes()
S
64 3 9
fail2wp_xmlrpc_set_class()
S
69 3 6
fail2wp_setting_roles_warn()
S
62 3 10
fail2wp_setting_roles_notify()
S
62 3 10
fail2wp_setting_site_label()
S
64 3 9
fail2wp_hostname_has_wildcard()
S
77 2 3
resource_mtime()
S
69 2 7
fail2wp_admin_alert_new_user_role_forced()
S
63 1 12
fail2wp_setting_log_enums()
S
67 1 7
fail2wp_setting_unknown_notify()
S
67 1 7
fail2wp_setting_loginip_enable()
S
67 1 7
fail2wp_setting_xmlrpc_disable_everything()
S
67 1 7
fail2wp_setting_loginip_inform_fail2ban()
S
67 1 7
fail2wp_hostname_match_wildcard()
S
73 1 4
fail2wp_noshow_feeds()
S
81 1 3
fail2wp_remove_feeds()
S
76 1 4
fail2wp_the_generator()
S
81 1 3
fail2wp_settings_link()
S
69 1 6
fail2wp_xmlrpc_do_inform_fail2ban()
S
81 1 3
__wakeup()
S
89 1 2
fail2wp_setting_loginip_testmode()
S
67 1 7
fail2wp_settings_cloudflare_ipv4()
S
70 1 6
fail2wp_settings_cloudflare_ipv6()
S
70 1 6
fail2wp_setting_block_username_login()
S
67 1 7
fail2wp_setting_reguser_warn()
S
67 1 7
fail2wp_setting_xmlrpc_disable_pingback()
S
65 1 8
__clone()
S
89 1 2
fail2wp_setting_xmlrpc_disable()
S
65 1 8
fail2wp_settings_reguser_username_length()
S
74 1 4
fail2wp_settings_reguser_username_ban()
S
70 1 6
fail2wp_settings_reguser_useremail_require()
S
70 1 6
fail2wp_setting_remove_generator()
S
67 1 7
fail2wp_setting_remove_feeds()
S
67 1 7
fail2wp_setting_remove()
S
67 1 7
fail2wp_setting_block_enums()
S
67 1 7
fail2wp_setting_secure_login_messages()
S
67 1 7
fail2wp_setting_xmlrpc_inform_fail2ban()
S
67 1 7
fail2wp_settings_loginip_deny()
S
70 1 6
fail2wp_settings_loginip_allow()
S
65 1 9
fail2wp_setting_rest_filter_require_authenticated()
S
67 1 7
fail2wp_setting_rest_filter_block_index()
S
67 1 7
fail2wp_setting_rest_filter_log_blocked()
S
67 1 7
fail2wp_setting_rest_filter_block_all()
S
67 1 7
fail2wp_setting_loginip_dnscache()
S
67 1 7
fail2wp_settings_rest_filter_bypass_ipv4()
S
70 1 6
fail2wp_settings_rest_filter_bypass_ipv6()
S
70 1 6
fail2wp_settings_prefix()
S
74 1 4
fail2wp_setting_also_log_php()
S
67 1 7
fail2wp_setting_cloudflare_check()
S
66 1 8
fail2wp_setting_reguser_force()
S
67 1 7